import config from "../request/api.js";

export default {
  GetApaNumsPointInfo(params) {
    return config.get("api/HomePage/GetApaNumsPointInfo", params);
  },
  GetHomeCounts(params) {
    return config.get("api/HomePage/GetHomeCounts", params);
  },
  GetApaNumsHomePage(params) {
    return config.get("api/HomePage/GetApaNumsHomePage", params);
  },
  GetApaNumsByDate(params) {
    return config.get("api/HomePage/GetApaNumsByDate", params);
  },
  GetApcList(params) {
    return config.get("api/HomePage/GetApcList", params);
  },
  GetOrgListInfo(params) {
    return config.get("/api/HomePage/GetOrgListInfo", params);
  },
  QueryHecListByPaged(params) {
    return config.get("/api/System/QueryHecListByPaged", params);
  },
  GetApkNewInfo(params) {
    return config.get("/api/System/GetApkNewInfo", params);
  },
  QueryEquListByPaged(params) {
    return config.get("/api/System/QueryEquListByPaged", params);
  },
  CreateEquNo(params) {
    return config.get("/api/System/CreateEquNo", params);
  },
  DeleteEqu(params) {
    return config.post("/api/System/DeleteEqu?id=" + params.id, {});
  },
  QueryAurInfo(params) {
    return config.get("/api/Workbench/QueryAurInfo", params);
  },
  QueryAppListByPaged(params) {
    return config.get("/api/Workbench/QueryAppListByPaged", params);
  },
  GetAchStreetsList(params) {
    return config.get("/api/Common/GetCityList", params);
  },
  GetAchEurByStreetsList(params) {
    return config.get("/api/Common/GetAreaListByCity", params);
  },
  GetOrgListByArea(params) {
    // 所属陵园
    return config.get("/api/Android/GetOrgListByArea", params);
  },
  GetInTypes(params) {
    return config.get("/api/Workbench/GetInTypes", params);
  },
  GetAchEurListAll(params) {
    return config.post("/Login/GetAchEurListAll", params);
  },
  GetVilList(params) {
    return config.get('/ElderyManage/GetVilList', params)
  },
  GetAchEurTypeList(params) {
    return config.post('/Login/GetAchEurTypeList', params)
  },
  getPoliticsOptions(params) {
    return config.get('/Volunteer/GetAchVolPloType', params)
  },
  // GetAchEmg(params) {
  //   // 设备列表
  //   return config.get('/ElderlyCanteen/GetAchEmg', params)
  // },
};
